//
//  UIViewController+someMethod.m
//  BKJ
//
//  Created by 贝壳家iOS on 15/11/26.
//  Copyright © 2015年 贝壳家iOS. All rights reserved.
//

#import "UIViewController+someMethod.h"

@implementation UIViewController (someMethod)


- (void)changeBackeItem{
    UIBarButtonItem *backItem = [[UIBarButtonItem alloc] init];
    backItem.title = @"返回";
    self.navigationItem.backBarButtonItem = backItem;
}



- (void)setNavigationBarClear{
  [self removeNavigationBarBottomLine];
  [self.navigationController.navigationBar setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];
}

- (void)removeNavigationBarBottomLine{
  [self.navigationController.navigationBar setShadowImage:[UIImage new]];
}


@end
